package com.zdp.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * 类描述:
 *
 * @author ZhhengDP
 * @since 2021/8/25
 */
/**
 * 使用该注解开启Zuul服务
 * 要注意区分 和 @EnableZuulServer的区别
 */
@EnableZuulProxy
@SpringBootApplication
public class ZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class,args);
    }
}
